local skynet = require "skynet"
local player_manager = {}

player_manager.players = {}

function player_manager.find_player(playerName)
	return player_manager.players[playerName]
end

function player_manager.new_player(player)
	if player_manager.players[player.name] == nil then
		player_manager.players[player.name] = player
		return true
	end
	return false
end

skynet.start(function ()
	print("player manager started...")
end)
